﻿#ifndef POSTCOMMAND_CMDPOLARCOORDINATEGRAPHREMOVEALLTRACER_H
#define POSTCOMMAND_CMDPOLARCOORDINATEGRAPHREMOVEALLTRACER_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdPolarCoordinateGraphRemoveAllTracer : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdPolarCoordinateGraphRemoveAllTracer();
        ~CmdPolarCoordinateGraphRemoveAllTracer();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setPolarCoordinateGraphRemoveAllTracer(int mainWindowId, QList<int> infoidList);

    private:
        int m_mainWindowId;
        QList<int> m_infoidList;
    };
} // namespace PostCommand

#endif
